package com.zd.xa.multi.datasource;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.context.annotation.ImportResource;

//@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DataSourceTransactionManagerAutoConfiguration.class, JdbcTemplateAutoConfiguration.class})
@SpringBootApplication
//@MapperScan(basePackages = {"com.zd.xa.multi.datasource.mapper"})
@ImportResource(value={"classpath:META-INF/spring/SpringApplication1.xml","classpath:META-INF/spring/SpringApplication2.xml"})
public class XAMultiDatasourceApplication {
    public static void main(String[] args) {
        SpringApplication.run(XAMultiDatasourceApplication.class,args);
    }
}
